package designpattern.chainresponsibility.order;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 刘牌
 * @Date: 2021/12/18/22:55
 * @Description:
 */
public abstract class OrderHandler {

    protected OrderHandler orderHandler;

    public void next(OrderHandler orderHandler){
        this.orderHandler = orderHandler;
    }

    public abstract void hand(Order order);
}
